package com.service;

import com.dao.Dao;
import com.utils.PageTools;

import java.util.List;

public class Service {
    private Dao dao=new Dao();
    public int AllStudentCount() {
        return dao.AllStudentCount();
    }

    public List dimQuery(PageTools pt) {
      return dao.dimQuery(pt);
    }

    public int dim2Query(String input) {
        return dao.dim2Query(input);
    }


    public List search(String input, PageTools pt) {
        return dao.search(input,pt);
    }

    public int delete(String sid) {
        return dao.delete(sid);
    }
}
